#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
using namespace std;

    /*int main() {
        float a;
        char b;
        cin >> a >> b;
        int sum = 0;
        if (a <= 1) sum = 20;
        else
        {
            int ret = a - 1;
            if ((ret + 1) < a) ret += 1;
            sum = 20 + ret * 1;
        }
        if (b == 'y') sum = sum + 5;
        cout << sum;
        return 0;
    }*/

